﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JavaDevToys.Rcl.Service;
using OneOf.Types;

namespace JavaDevToys.Service.Impl
{
    public class JavaFileService : IJavaFileService
    {
        private string _fileName = "E:\\RjWorkSpace\\sun-his\\code\\后端\\dict-sun-his\\sunhis-dict-api\\src\\main\\java\\com\\sunhealth\\sunhis\\dict\\request\\address\\AddAddressRequest.java";

        public string ReadFileAllText(string fileName)
        {
            string result =string.Empty;
            using (StreamReader sr = new StreamReader(fileName, Encoding.UTF8))
            {
                result=sr.ReadToEnd();
            }
            return result;
        }
    }
}
